namespace Communication
{
    /// <summary>
    /// Contains network address data.
    /// </summary>
    public class AddressData
    {
        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        /// <param name="address">The network address</param>
        /// <param name="typeOfAddress">The type of the given <b>address</b></param>
        public AddressData(string address, int typeOfAddress)
        {
            Address = address;
            TypeOfAddress = typeOfAddress;
        }

        /// <summary>
        /// Gets the network address.
        /// </summary>
        public string Address { get; private set; }

        /// <summary>
        /// Gets the type of the AddressData.Address
        /// </summary>
        public int TypeOfAddress { get; private set; }
    }
}